package com.jie.deletefile.DIYjindutiao;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.jie.deletefile.R;

public class YuanActivity extends AppCompatActivity {

    private ClearArcView cav;
    private PiechartView pv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_yuan);
        initView();
    }

    private void initView() {
        cav = (ClearArcView) findViewById(R.id.cav);
        cav.setAngleWithAnim(80);
        pv = (PiechartView) findViewById(R.id.pv);
        pv.setPiechartProportionWithAnim(0.25f,0.8f);
    }
}
